Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / MoveAsync Method / MoveAsync<T>(IDataCollection<T>,Int32,Int32,CancellationToken) Method
The data collection.
From index.
To index.
The cancellation token.

In This Topic
    MoveAsync<T>(IDataCollection<T>,Int32,Int32,CancellationToken) Method
    In This Topic
    Moves an item from the specified position to the new one.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function MoveAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer, _
       Optional ByVal cancellationToken As CancellationToken _
    ) As Task

    Parameters

    dataCollection
    The data collection.
    fromIndex
    From index.
    toIndex
    To index.
    cancellationToken
    The cancellation token.

    Type Parameters

    T
    See Also